package com.example.demo.mapper;

import com.example.demo.entity.Menu;
import com.example.demo.entity.Role;
import com.example.demo.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;

/**
* @author admin
* @description 针对表【user(用户表)】的数据库操作Mapper
* @createDate 2023-12-26 15:32:21
* @Entity com.example.demo.entity.User
*/
public interface UserMapper extends BaseMapper<User> {
   User getUserByName(String name);
   List<Role> getRolesInfoByUserId(Long uid);
   List<Menu> getMenusInfoByUserId(Long uid);
}




